package com.studio49.exmple.common.constant;

/**
 * <PRE>
 * 错误编码类
 * </PRE>
 * 
 * @author chensj
 * @date 2019年2月16日  下午6:11:28
 * @version 1.0
 */
public class ErrorCodeConstant {
	
	//==============================用户中心{1001~1999}=======================================
	/**已获取验证码*/
	public static final Integer VERIFICATION_CODE_HAVE_OBTAINED = 1001;
	/**验证码已失效*/
	public static final Integer VERIFICATION_CODE_EXPIRED = 1002;
	/**验证码错误*/
	public static final Integer VERIFICATION_CODE_ERROR = 1003;
	/**短信发送失败*/
	public static final Integer SMS_SEND_FAILED = 1011;
	/**用户不存在*/
	public static final Integer USER_NOT_EXISTS = 1012;
	/**账号已冻结*/
	public static final Integer USER_ACCOUNT_NOT_AVAILABLE = 1013;
	
	/**账号或密码 错误*/
	public static final Integer ACCOUNT_OR_PASSWD_ERROR = 1014;
	/**用户已存在*/
	public static final Integer USER_IS_EXISTS = 1015;
	
	
	
	//==============================公告{4001 ~ 4999}=======================================
    public static final int ERROR_CODE_NOTICE_ADD_NOTIFICATION_FAILED = 4001; // 增加公告失败
}
